<?php
html::printPath('room.form-title');
$msg->printMessages();
?>

<ul class="commandList">
    <li class="addLi"><?php echo html::anchor('admin/room/edit', text::get('room.createNew')) ?></li>
    <li class="changeOrderAction"><?php echo html::anchor('admin/room/orderForm', text::get('application.changeOrder')) ?></li>
</ul>

<?php
$elb = new EntityListBuilder($this, $roomList, 'code');
$elb->text('code');
$elb->text('name');
$elb->text('building_code');
$elb->text('accomodation_type_code');
$elb->text('capacity');
$elb->text('notes');
$elb->write();
